package com.gite.nouette.admin.implementation.model.module;

import java.util.List;

import com.gite.nouette.admin.contract.data.ILog;
import com.gite.nouette.admin.contract.model.command.ICommandModule;
import com.gite.nouette.admin.contract.model.module.IModuleLog;
import com.gite.nouette.admin.contract.service.ICallback;
import com.gite.nouette.admin.implementation.model.AbstractModule;

public class ModuleLogImpl extends AbstractModule implements IModuleLog {

	public ModuleLogImpl(ICommandModule... headerCommands) {
		super(headerCommands);
	}

	@Override
	public void getLogs(ICallback<List<ILog>> callback) {
		getServiceASync().getLogs(callback);
	}
}
